package com.andox.fn.inf.rpc.rest.parser;

import org.springframework.beans.factory.xml.NamespaceHandlerSupport;

/**
 * @ClassName: SofaAdaptorNamespaceHandler
 * @author: Andox
 * @date: 2019年7月29日 上午11:49:59
 * 
 */
public class RestRpcNamespaceHandler extends NamespaceHandlerSupport {
	public static final String REFERENCE_TAG = "reference";
	public static final String SERVICE_TAG = "service";
	
	@Override
	public void init() {
		this.registerBeanDefinitionParser(REFERENCE_TAG, new ReferenceDefinitionParser());
		this.registerBeanDefinitionParser(SERVICE_TAG, new ServiceDefinitionParser());
	}
}
